package com.shujia.wyh.dao;


import com.shujia.wyh.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserDao {
    @Select("select * from user where username=#{username} and password=#{password}")
    public User findByUsernameAndPassword(String username, String password);

}
